<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglibs.jsp"%>
<div id="right06" style="display:" class="agen_adst" >
        <div class="agen_right_title" > 我的账户 </div>
        <div class="account_div01">
            <table align="left">
                <tr height="30px">
                    <td style="width: 400px ! important;"> <span style="font-weight:bold">账户名称：</span>${userAmount.userLnm} </td>
                </tr>
                <tr height="30px">
                    <td> <span style="font-weight:bold">账户余额：</span>${userAmount.userAmount} 元 </td>
                </tr>
                <tr height="30px">
                    <td width="150px"> <span style="font-weight:bold;">已购买课程：</span>${logsize} 课时 </td>
                    <td> <a href="#" onclick="$('#account01').show();"> <span style="color:#578429"> 详情 </span> </a> </td>
                </tr>
            </table>
        </div>
        <div>
            <div id="account01" class="account_div02">
                <table style="text-align:center;">
                    <tr width="550px" height="5px" style="background-color:#DDD;"> </tr>
                    <tr width="550px" height="30px" style="background-color:#DDD;">
                        <td width="300px" style="text-align:left;">课程名称 </td>
                        <td width="100px">课程类型 </td>
                        <td width="100px">扣款（元） </td>
                        <td width="100px">创建时间 </td>
                    </tr>
                    <c:forEach var="amountLog" items="${logList}" varStatus="status"> 
	                    <tr height="30px">
	                        <td style="text-align:left;">${amountLog.consumeSourcenm}</td>
	                        <td width="70px">${amountLog.consumeTp} </td>
	                        <td width="70px">${amountLog.consumeAmount}</td>
	                        <td width="100px">${amountLog.consumeCdt} </td>
	                    </tr>
                    </c:forEach>
                </table>
            </div>
        </div>
    </div>